//
//  youtubeTableCell.m
//  IntroductionApp
//
//  Created by 英司 菅澤 on 12/02/13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "youtubeTableCell.h"

@implementation youtubeTableCell

@synthesize picView = _picView;
@synthesize titleLabel = _titleLabel;
@synthesize dateLabel = _dateLabel;


- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

// cellのデータをセットする
-(void)setCellData:(NSDictionary*)cellDic{
    
    NSString* title = [cellDic objectForKey:@"title"];
    self.titleLabel.text = title;
    self.dateLabel.text = [ cellDic objectForKey:@"date" ];
    
}

@end
